package com.gexiaobao.pigeon.app.model.bean

/**
 * @author:hxw
 * @date  :2023/1/16
 * @desc  :
 */
class MessageListResponse(

    var total: Int = 0,
    var data: ArrayList<DataList> = arrayListOf()


) : java.io.Serializable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = data == null || (data as List<*>).isEmpty()

    class DataList(

        var id: Int = 0,
        var userId: Int = 0,
        var messageId: Int = 0,
        var read: Int = -1,
        var orgId: Int = 0,
        var visible: Int = 0,
        var passStatus: Int = 0,//1-未开始，2-报名中，3-报名结束，4-集鸽中，5-集鸽结束，6-比赛中，7-比赛结束，8-开始中，9-验鸽中，10-结束中'
        var topic: String = "",
        var body: String = "tb",
        var messageType: Int = 0,
        var passId: Int = 0,
        var messageTcontent: String = "",
        var releaseTime: String = "",
        var createdAt: String = ""

    ) : java.io.Serializable
}